package com.fog.judge.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class QualitativeEvaluations  implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    private int id;

    private int evalutionType; // 1.定性  2 .定量

    private float evalutionScore;

    private int evalutorId;

    private int teacherId;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime evalutionDate;
}
